package com.xq.model;

import java.util.HashMap;
import java.util.Map;

import com.jfinal.plugin.activerecord.Model;

public abstract class BaseModel<T extends Model> extends Model<T> {

	public Map<String, Object> cloneAttrs()
	{
		Map<String, Object> attrs = new HashMap<String, Object>();
		attrs.putAll(this.getAttrs());
		return attrs;
	}
}
